Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed warning of incorrect migrations path on builds (#209) #210

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

doekenorg
Copy link
Collaborator

@doekenorg doekenorg commented Jan 16, 2025

When we moved the plugin over to Strauss the Migrations were also moved to vendor_prefixed, while the container was still configured to the old <plugin>/src/.. folder. Since the builds no longer have this folder, it caused a warning.

This PR resolves that issue (#209) by adding a is_readable check on the folder, and a change of folder-root (GFEXCEL_SRC_FOLDER) when it concerns a build.

It also fixed a tiny "bug" where, when a migration fails for an unrecoverable reason, the migration state is reset from running. This will make it possible for a migration to try again sooner.

💾 Build file (acaf95c).

@doekenorg doekenorg requested a review from mrcasual January 16, 2025 09:18
@doekenorg doekenorg self-assigned this Jan 16, 2025
@rafaehlers
Copy link
Contributor

@doekenorg is this PR related to this issue: #209 ?

@doekenorg
Copy link
Collaborator Author

@doekenorg is this PR related to this issue: #209 ?

Yeah sorry, forgot to add that to the comment. But it is. You can also check the branch name; that usually has the issue ID in front of it (issue/209-updating-gravityexport-causes-warning).

@doekenorg doekenorg changed the title Fixed warning of incorrect migrations path on builds Fixed warning of incorrect migrations path on builds (#209) Jan 16, 2025
@rafaehlers
Copy link
Contributor

The user confirmed the fix, we can release! @mrcasual

@doekenorg doekenorg merged commit 959d390 into develop Jan 17, 2025
4 checks passed
@doekenorg doekenorg deleted the issue/209-updating-gravityexport-causes-warning branch January 17, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants